package org.smart4j.chapter2.service;

import org.smart4j.chapter2.model.Customer;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/7/11.
 * 提供客户数据服务类
 */
public class CustomerService {

    public List<Customer> getCustomerList(String keyword){
        //TODO
        return null;
    }

    public Customer getCustomer(long customerId){
        //TODO
        return null;
    }

    public boolean createCustomer(Map<String,Object> fieldMap){
        //TODO
        return true;
    }

    public boolean deleteCustomer(long customerId){
        //TODO
        return true;
    }

    public boolean updateCustomer(Map<String,Object> fieldMap){
        //TODO
        return true;
    }

}
